package com.cxt.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
/**
 * 用户加入拼车的参数
 */
public class CarpoolAddDto {
    //拼车信息ID
    private Long carpoolInfoId;
    //用户ID
    private Long userId;
    //加入的身份
    private Integer joinIdentity;
    //加入的拼车人数
    private Integer joinCount;
    //起点经度
    private BigDecimal startLongitude;
    //起点纬度
    private BigDecimal startLatitude;
    //起点名称
    private String startLocationName;
    //终点经度
    private BigDecimal endLongitude;
    //终点纬度
    private BigDecimal endLatitude;
    //终点名称
    private String endLocationName;
}
